// tencent tim
import tim from '@/plugins/im'
import TIM from 'tim-js-sdk'
import Vue from 'vue'
import Avatar from '@/views/publicPage/im/tencent/components/avatar.vue'
import '@/views/publicPage/im/tencent/assets/icon/iconfont.css'
import '@/views/publicPage/im/tencent/assets/icon/tim.css'

Vue.prototype.tim = tim
Vue.prototype.TIM = TIM
Vue.prototype.$bus = new Vue() // event Bus 用于无关系组件间的通信。
Vue.component('avatar', Avatar)
